

import java.io.IOException;
import java.net.InetAddress;
import java.net.Socket;
import java.net.UnknownHostException;

public class Client
{
	public static void init_client()
	{
		Socket socket;
		
		try
		{  
			socket = new Socket(InetAddress.getByName("192.168.1.14"), 2009);
		//	socket = new Socket(InetAddress.getLocalHost(), 2009);
			EnvoiFichier.SendFile("D:\\\\killer.exe", socket);
			socket.close();
		}
		catch (UnknownHostException e) 
		{
			System.out.println("Echec creation client");
		} 
		catch (IOException e)
		{
			// TODO Auto-generated catch block
			System.out.println("Echec creation client");
		}
	}
}
